home *** CD-ROM | disk | FTP | other *** search
/ PC User 2001 August / APC_Aug2001_CD1.iso / toolkit / files / interarchy-41.hqx / Interarchy 4.1 / Extras / Scripting Support / AppleScripts / Misc Stuff < prev    next >
Encoding:
Text File  |  2000-08-05  |  641 b   |  21 lines

  1. tell application "Interarchy"
  2.     activate
  3.     set baseURL to "ftp://user:password@host/"
  4.     mkdir url baseURL & "testdir"
  5.     mkdir url baseURL & "inside"
  6.     rename url baseURL & "inside" newname "testdir/nowinside"
  7.     remove url baseURL & "testdir/nowinside"
  8.     remove url baseURL & "testdir"
  9.     sendcommand url baseURL & "help"
  10.     
  11.     weblist url "http://host/path/"
  12.     webfetch url "http://host/path/file"
  13.     webview url "http://host/path/file"
  14.     webviewsource url "http://host/path/file"
  15.     
  16.     mirrorupload file "harddisk:folder" url "ftp://username:password@host/path/"
  17.     getwebsite file "harddisk:folder" url "http://host/path/"
  18.     
  19.     settransfermode tmBinary
  20. end tell
  21.